const layout = () => import('layout/layout.vue')

const alipayList = () => import('views/order/alipay/list.vue')
const alipayPlan = () => import('views/order/alipay/plan.vue')

const bankList = () => import('views/order/bank/list.vue')

const huabeiList = () => import('views/order/huabei/list.vue')

const aggregateList = () => import('views/order/aggregate/list.vue')

export default {
    path:'/order',
    redirect: '/order/alipay-list',
    component:layout,
    children:[{
        path:'alipay-list',
        component:alipayList,
        name:'order-alipay-list',
        meta:{
            title:'支付宝代扣订单'
        }
    },{
        path:'alipay-plan',
        component:alipayPlan,
        name:'order-alipay-plan',
        meta:{
            title:'支付宝代扣计划'
        }
    },{
        path:'bank-list',
        component:bankList,
        name:'order-bank-list',
        meta:{
            title:'信用卡分期订单'
        }
    },{
        path:'huabei-list',
        component:huabeiList,
        name:'order-huabei-list',
        meta:{
            title:'花呗分期订单'
        }
    },{
        path:'aggregate-list',
        component:aggregateList,
        name:'order-aggregate-list',
        meta:{
            title:'聚合支付订单'
        }
    }]
}